package org.boot.myledger.service.impl;

import org.boot.myledger.entity.BudgetType;
import org.boot.myledger.mapper.BudgetTypeMapper;
import org.boot.myledger.service.BudgetTypeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Author: liupy
 * @Date: 2024/3/27
 */
@Service
public class BudgetTypeServiceImpl implements BudgetTypeService {

    @Autowired
    BudgetTypeMapper budgetTypeMapper;

    @Override
    public List<BudgetType> findAllType() {
        return budgetTypeMapper.findAllType();
    }
}
